<template>
    <div>
        <el-tabs v-model="activeName2" type="card" >
            <el-tab-pane label="我的通知" name="first">我的通知</el-tab-pane>
        </el-tabs>

    </div>
</template>
<script>
    import _http from '@/components/common/http.vue'

    export default {
        data() {
            return {
                activeName2: 'first'

            }
        },
        methods:{
            test(){
                _http.axiosRequest(this,'http://192.172.1.133:8080/MyProject/system/login',{loginName:'admin',password:'123'},(res)=> {
                        alert(res)

            })
            }

        }

    }



</script>
<!--function axiosRequest(obj,uri,data,callBack) {-->
<!--obj.$ajax({-->
<!--url: _param.param.apiUrl+uri,-->
<!--method: 'post',-->
<!--response: 'json',-->
<!--data: data,-->
<!--}).then(callBack).catch(function(err) {-->
<!--console.log('uri:'+uri+' got error :'+err);-->
<!--})-->